/**
 *引入createStore 创建store
*/
import {createStore} from 'redux'
import reducer from './../reducer';
import { composeWithDevTools } from 'redux-devtools-extension'
export default ()=>createStore(reducer,composeWithDevTools());//返回一个函数，返回一个数据源